package com.yong.ssj.service.sys;

import java.util.List;
import java.util.Map;

import com.yong.ssj.db.dto.cost.CostMethodDto;
import com.yong.ssj.db.dto.customer.CustomerDto;
import com.yong.ssj.db.dto.sys.UserDto;
import com.yong.ssj.vo.customer.RenzhenVo;

public interface IUserService {
	public int login(String username,String password);//管理员端
	public CustomerDto loginph(String customer_name,String customer_password);//用户端登陆验证
	public int register(String customer_name,String customer_password);//用户注册
	public int reset(String customer_name,String customer_password,long customer_id);//重置密码
	public int updatemima(String customer_password,String password1,long customer_id);//修改密码
	public int loginphyz(String customer_name);//验证手机号是否存在
	public List<Map<String, Object>> queryUser();//查询所有的客服用户
	public UserDto queryManger(long user_id);//根据id查询客服用户
	public UserDto queryme(String user_name);//根据用户登录名来查询用户
	public int add(UserDto vo);//新增一个管理员
	public int updateUser(UserDto vo);//修改一个管理员
	public List<Map<String, Object>> queryCost();//查询所有的消费方案
	public CostMethodDto updateCost(String cost_id);//查询要修改的借款方案
	public int updateCostDo(CostMethodDto dto);//修改借款方案
	public int addCost(CostMethodDto vo);//新增一个方案
}
